package factorymodel.abstractfactorymodel.pojo.factory.factoryImpl;

import factorymodel.abstractfactorymodel.pojo.car;
import factorymodel.abstractfactorymodel.pojo.entity.carentity.huaWeiCar;
import factorymodel.abstractfactorymodel.pojo.entity.carpartsentity.engine;
import factorymodel.abstractfactorymodel.pojo.entity.carpartsentity.gearbox;
import factorymodel.abstractfactorymodel.pojo.entity.carpartsentity.huaweiparts.partsentity.huaWeiEngine;
import factorymodel.abstractfactorymodel.pojo.entity.carpartsentity.huaweiparts.partsentity.huaWeiGearbox;
import factorymodel.abstractfactorymodel.pojo.entity.carpartsentity.huaweiparts.partsentity.huaWeiTyre;
import factorymodel.abstractfactorymodel.pojo.entity.carpartsentity.tyre;
import factorymodel.abstractfactorymodel.pojo.factory.carFactory;

public class huaWeiCarFactory implements carFactory {

    @Override
    public engine createEngine() {
        return new huaWeiEngine();
    }

    @Override
    public tyre createTyre() {
        return new huaWeiTyre();
    }

    @Override
    public gearbox createGearbox() {
        return new huaWeiGearbox();
    }
}
